/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 报表模版Entity
 * @author 李超辉
 * @version 2017-11-22
 */
public class Template extends DataEntity<Template> {
	
	private static final long serialVersionUID = 1L;
	private Project project;		// 项目 父类
	private String name;		// 模板名称
	private String type;		// 模板类型
	private String location;		// 模版地址
	private  String projectName;  //项目名称
	
	public Template() {
		super();
	}

	public Template(String id){
		super(id);
	}

	public Template(Project project){
		this.project = project;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	
	@ExcelField(title="模板名称", align=2, sort=2)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@ExcelField(title="模板类型", align=2, sort=3)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@ExcelField(title="模版地址", align=2, sort=4)
	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	@ExcelField(title = "项目名称",align = 2,sort = 5)

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
}